package com.qqqq.code;

import com.qqqq.domain.User;

import java.util.List;

public class Page<T> {
    private Integer total;
    private List<T> recodes;

    public Page() {
    }

    public Page(Integer total, List<T> recodes) {
        this.total = total;
        this.recodes = recodes;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public List<T> getRecodes() {
        return recodes;
    }

    public void setRecodes(List<T> recodes) {
        this.recodes = recodes;
    }
}
